package com.ship.dispatch.bean.HomePage;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ship.common.core.mapping.Label;
import com.ship.common.core.mapping.TableColumn;
import lombok.Data;

import java.util.Date;

/**
 * 首页上一航次
 */
@Data
@TableName("sp_arrange_scheme_detail")
public class ConHomePageArrage {

    /**
     * id
     */
    private Long id;

    /**
     * 船舶名称
     */
    private String shipName;

    /**
     * imo
     */
    private String imo;

    /**
     * 实际装载时间
     */
    @Label(value = "实际装载时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date realityLoadingDate;

    /**
     * 实际卸载时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date realityUnloadingDate;

    /**
     * 预计装载港
     */
    @Label(value = "预计装载港")
    private String expectedLoadingPort;

    /**
     * 装载国家
     */
    @TableField(exist = false)
    private String expectedLoadingCountry;

    /**
     * 卸载港
     */
    private String expectedUnloadingPort;


    /**
     * 卸载国家
     */
    @TableField(exist = false)
    private String expectedUnloadingCountry;

    /**
     * 预计装载时间
     */
    private Date expectedLoadingDate;

    /**
     * 预计卸载时间
     */
    private Date expectedUnloadingWindow;

    /**
     * 实际卸载港
     */
    private String realityLoadingPort;
}
